package fr.mystnihon.game.activity;

import android.os.Bundle;
import android.util.Log;
import fr.mystnihon.game.activity.view.scene.CombatScreen;
import fr.mystnihon.game.framework.Screen;
import fr.mystnihon.game.framework.impl.AndroidGame;

public class TestGameDroid extends AndroidGame {
	private static final String TAG = TestGameDroid.class.getSimpleName();
	CombatScreen combat;

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

	}

	@Override
	public void onDestroy() {
		Log.d(TAG, "On destroy");
		super.onDestroy();
	}

	@Override
	public void onStop() {
		Log.d(TAG, "On stop");
		super.onStop();
	}

	@Override
	public void onPause() {
		Log.d(TAG, "On pause");
		super.onPause();
	}

	@Override
	public Screen getStartScreen() {
		// TODO Auto-generated method stub
		// return new MainGameScreen(this);
		if (combat == null) {
			combat = new CombatScreen(this);
		}
		return combat;
	}
}